resource "huaweicloud_dms_kafka_instance" "mod_dms" {
  name                  = var.cluster_name
  vpc_id                = var.vpc_id
  network_id            = var.subnet_id
  security_group_id     = var.vsg_id
  flavor_id             = var.flavor_id
  storage_spec_code     = var.storage_spec_code
  availability_zones    = var.availability_zones
  engine_version        = var.engine_version
  storage_space         = var.storage_space
  retention_policy      = var.retention_policy
  broker_num            = 3
  enable_auto_topic     = true
  manager_user          = var.manager_user
  manager_password      = var.manager_password
  enterprise_project_id = var.enterprise_project_id
}